package com.cll.learn.consumer.task;

import com.cll.learn.consumer.ServiceConsumerApplication;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/10/10 12:08
 */
public class ConsoleExecuteNumberTask implements Runnable {

    private static final Logger LOGGER = LoggerFactory.getLogger(ConsoleExecuteNumberTask.class);

    @Override
    public void run() {
        LOGGER.info("===>>> 当前调用服务端方法次数 = " + ServiceConsumerApplication.EXECUTE_NUMBER.get());
    }
}
